package com.jie.msmservice;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author XieZhiJie
 * @create 2020-10-15 21:05
 */
@EnableDiscoveryClient  // 服务注册
@ComponentScan("com.jie")
@SpringBootApplication(
        // 不去自动加载数据库信息
        exclude = DataSourceAutoConfiguration.class
)
public class MsmApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsmApplication.class, args);
    }
}
